package cn.edu.lsu.integratedsurvey.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 修改密码DTO对象
 *
 * @author Jasmine-drs
 * @date 2024/5/1 17:27
 */

@Data
public class UserChangeDto {
	@NotNull(message = "[账号]不能为空")
	@ApiModelProperty("账号")
	private String account;

	@NotNull(message = "[旧密码]不能为空")
	@ApiModelProperty("旧密码")
	private String oldPassword;

	@ApiModelProperty("新密码")
	private String newPassword;
}
